<?php
/**
 * Each engineer has a duty to keep the code elegant
 * Created by wolffy.
 * Author @wolffy<13750088090@sina.cn>
 * Date: 2018/8/6
 * Time: 14:40
 */
namespace App\Http\Controllers\Api\Payment;

use App\Handlers\ApiResponse;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;

class ConfigController extends Controller
{
    use ApiResponse;

    public function config()
    {
        $data = [
            'domain_pro' => 'https://passport.chenghuiguanjia.com/',
            'domain_dev' => 'https://dev.chenghuiguanjia.com/',
            'wechat' => [
                'appid' => 'wx205e3ee83d36499e'
            ],
            'im' => [
                'app_key' => 'c3a19c7f5422217e03d771a7',
            ]
        ];
        return $this->responseJson(0, $data);
    }
}